﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Orchard.ContentManagement.Drivers;
using CKEditor.Models;
using Orchard.Localization;
using Orchard.Logging;
using Orchard.UI.Notify;
using Orchard.Settings;

namespace CKEditor.Drivers
{
    public class CKEditorSettingsPartDriver : ContentPartDriver<CKEditorSettingsPart>
    {
        private readonly ISiteService _siteService;
        private readonly INotifier _notifier;

        public CKEditorSettingsPartDriver(
            ISiteService siteService, 
            INotifier notifier) {
            _siteService = siteService;
            _notifier = notifier;

            T = NullLocalizer.Instance;
            Logger = NullLogger.Instance;
        }

        public Localizer T { get; set; }
        public ILogger Logger { get; set; }

        protected override string Prefix { get { return "SiteSettings"; } }

        // See SiteSettingsPartDriver
    }
}